package com.suray.basic.wcs.plc.pojo;

/**
 * 基本信息心跳回复包
 *
 * @author Administrator
 */
public class RobotHeartBaseResult {
    /**
     * 结果接收时间
     */
    protected long retTime;
    /**
     * 机械臂编号
     */
    private String no;
    /**
     * 状态
     */
    private Integer status;;
    /**
     * 货物到位任务编号
     */
    private Integer cargoReadyTaskNo;
    /**
     * 货物到位任务状态
     */
    private Integer cargoReadyStatus;
    /**
     * 任务下发任务号
     */
    private Integer taskSendTaskNo;
    /**
     * 下发任务状态
     */
    private Integer taskSendStatus;
    /**
     * 任务反馈任务号
     */
    private Integer wcsTaskNo;
    /**
     * 任务状态
     */
    private Integer wcsTaskStatus;
    /**
     * 拆垛时的起始工位，码垛时的终点工位
     */
    private Integer stationNo;
    /**
     * 工位拆/码垛完成（0表示未完成，1表示完成）
     */
    private Integer stationStatus;

    /**
     * 每一箱的条码值
     */
    private String cargoCode;

    public long getRetTime() {
        return retTime;
    }

    public void setRetTime(long retTime) {
        this.retTime = retTime;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCargoReadyTaskNo() {
        return cargoReadyTaskNo;
    }

    public void setCargoReadyTaskNo(Integer cargoReadyTaskNo) {
        this.cargoReadyTaskNo = cargoReadyTaskNo;
    }

    public Integer getCargoReadyStatus() {
        return cargoReadyStatus;
    }

    public void setCargoReadyStatus(Integer cargoReadyStatus) {
        this.cargoReadyStatus = cargoReadyStatus;
    }

    public Integer getTaskSendTaskNo() {
        return taskSendTaskNo;
    }

    public void setTaskSendTaskNo(Integer taskSendTaskNo) {
        this.taskSendTaskNo = taskSendTaskNo;
    }

    public Integer getTaskSendStatus() {
        return taskSendStatus;
    }

    public void setTaskSendStatus(Integer taskSendStatus) {
        this.taskSendStatus = taskSendStatus;
    }

    public Integer getWcsTaskNo() {
        return wcsTaskNo;
    }

    public void setWcsTaskNo(Integer wcsTaskNo) {
        this.wcsTaskNo = wcsTaskNo;
    }

    public Integer getWcsTaskStatus() {
        return wcsTaskStatus;
    }

    public void setWcsTaskStatus(Integer wcsTaskStatus) {
        this.wcsTaskStatus = wcsTaskStatus;
    }

    public Integer getStationNo() {
        return stationNo;
    }

    public void setStationNo(Integer stationNo) {
        this.stationNo = stationNo;
    }

    public Integer getStationStatus() {
        return stationStatus;
    }

    public void setStationStatus(Integer stationStatus) {
        this.stationStatus = stationStatus;
    }

    public String getCargoCode() {
        return cargoCode;
    }

    public void setCargoCode(String cargoCode) {
        this.cargoCode = cargoCode;
    }

    @Override
    public String toString() {
        return "结果接收时间:" + retTime +
                ",机械臂编号:" + no +
                ",状态:" + status +
                ",货物到位任务编号:" + cargoReadyTaskNo +
                ",货物到位任务状态:" + cargoReadyStatus +
                ",任务下发任务号:" + taskSendTaskNo +
                ",下发任务状态:" + taskSendStatus +
                ",反馈任务编号:" + wcsTaskNo +
                ",反馈任务状态:" + wcsTaskStatus +
                ",拆垛时的起始工位，码垛时的终点工位:" + stationNo +
                ",工位拆/码垛完成:" + stationStatus +
                ",每一箱的条码值:" + cargoCode;
    }

}
